body {
  max-width: 540px;
  min-width: 320px;
  margin: 0px auto;
  font: normal 16px/1.5 PingFangSC-regular,Tahoma,Lucida Grande,Verdana,Microsoft Yahei,STXihei,hei;
  color: #000;
  background-color: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  color: #222;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* 搜索模块 */

.search-index {
  display: flex;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 44px;
  min-width: 320px;
  max-width: 540px;
  background-color: #f6f6f6;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.search {
  position: relative;
  height: 26px;
  line-height: 24px;
  flex: 1;
  border: 1px solid #ccc;
  margin: 7px 10px;
  font-size: 12px;
  color: #666;
  padding-left: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgb(0,0,0,0.2);
}
.search::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 15px;
  height: 15px;
  background: url(../images/sprite.png) no-repeat -59px -279px;
  background-size: 104px auto;
}
.user {
  width: 44px;
  height: 44px;
  font-size: 12px;
  text-align: center;
  color: #089edd;
}
.user::before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  background: url(../images/sprite.png) no-repeat -59px -194px;
  background-size: 104px auto;
  margin: 4px auto -2px;
}

/* 焦点图模块 */

.focus {
  padding-top: 44px;
}
.focus img{
  width: 100%;
}

/* 局部nav模块 */
.local-nav {
  display: flex;
  height: 64px;
  background-color: #fff;
  margin: 3px 4px;
  border-radius: 8px;
}
.local-nav li {
  flex: 1;
}
.local-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.local-nav-icon {
  width: 32px;
  height: 32px;
}
.icon1 {
  background: url(../images/localnav_bg.png) no-repeat 0 0;
  background-size: 32px auto;
}
.icon2 {
  background: url(../images/localnav_bg.png) no-repeat 0 -32px;
  background-size: 32px auto;
}
.icon3 {
  background: url(../images/localnav_bg.png) no-repeat 0 -64px;
  background-size: 32px auto;
}
.icon4 {
  background: url(../images/localnav_bg.png) no-repeat 0 -96px;
  background-size: 32px auto;
}
.icon5 {
  background: url(../images/localnav_bg.png) no-repeat 0 -128px;
  background-size: 32px auto;
}

/* nav模块 */

nav {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  margin: 0 4px 3px;
}
.nav-common {
  flex: 1;
  display: flex;
  height: 88px;
  background-color: pink;
}
.nav-common:nth-child(1) {
  background: -webkit-linear-gradient(left,#fa5b55,#fa9a4d);
}
.nav-common:nth-child(2) {
  background: -webkit-linear-gradient(left,#4b90ed,#52bbed);
}
.nav-common:nth-child(3) {
  background: -webkit-linear-gradient(left,#35c2a8,#6bd458);
}
.nav-common:nth-child(2) {
  margin: 3px 0;
}
.nav-items {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nav-items a {
  flex: 1;
  color: #fff;
  text-align: center;
  line-height: 44px;
  font-size: 15px;
  text-shadow: 1px 1px rgb(0,0,0,0.2);
}
.nav-items a:nth-child(1) {
  border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a {
  border: 0;
}
.nav-common:nth-child(1) .nav-items:nth-child(1) {
  background: url(../images/hotel.png) no-repeat bottom center;
  background-size: 121px auto;
}
.nav-common:nth-child(2) .nav-items:nth-child(1) {
  background: url(../images/sprite.png) no-repeat 71px -481px;
  background-size: 181px auto;
}
.nav-common:nth-child(3) .nav-items:nth-child(1) {
  background: url(../images/sprite.png) no-repeat 71px -389px;
  background-size: 181px auto;
}
.nav-items:nth-child(-n+2) {
  border-right: 1px solid #fff;
}

/* subnav-entry模块 */

.subnav-entry {
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  background-color: #fff;
  margin: 0 4px 3px;
}
.subnav-entry li {
  flex: 20%;
}
.subnav-entry li a {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  text-shadow: 1px 1px rgb(0,0,0,0.2);
  align-items: center;
}
.subnav-entry-icon {
  width: 28px;
  height: 28px;
  background-color: pink;
  margin-top: 4px;
  
}
.subnav-entry li .iconA {
  background: url(../images/subnav-bg.png) no-repeat;
  background-size: 28px auto;
}
.subnav-entry li .iconB {
  background: url(../images/subnav-bg.png) no-repeat 0 -28px;
  background-size: 28px auto;
}
.subnav-entry li .iconC {
  background: url(../images/subnav-bg.png) no-repeat 0 -63px;
  background-size: 28px auto;
}
.subnav-entry li .iconD {
  background: url(../images/subnav-bg.png) no-repeat 0 -95px;
  background-size: 28px auto;
}
.subnav-entry li .iconE {
  background: url(../images/subnav-bg.png) no-repeat 0 -128px;
  background-size: 28px auto;
}
.subnav-entry li .iconF {
  background: url(../images/subnav-bg.png) no-repeat 0 -161px;
  background-size: 28px auto;
}
.subnav-entry li .iconG {
  background: url(../images/subnav-bg.png) no-repeat 0 -197px;
  background-size: 28px auto;
}
.subnav-entry li .iconH {
  background: url(../images/subnav-bg.png) no-repeat 0 -228px;
  background-size: 28px auto;
}
.subnav-entry li .iconI {
  background: url(../images/subnav-bg.png) no-repeat 0 -258px;
  background-size: 28px auto;
}
.subnav-entry li .iconJ {
  background: url(../images/subnav-bg.png) no-repeat 0 -287px;
  background-size: 28px auto;
}

/* sale-box模块 */

.sales-box {
  border-top: 1px solid #eee;
  background-color: #fff;
  margin: 4px;
}
.sale-hd {
  position: relative;
  height: 44px;
  border-bottom: 1px solid #ccc;
}
.sale-hd h2 {
  position:relative;
  text-indent: -999px;
  overflow: hidden;
}
.sale-hd h2::after {
  position: absolute;
  content: "";
  top: 8px;
  left: 20px;
  width: 79px;
  height: 15px;
  background:url(../images/hot.png) no-repeat 0 -20px;
  background-size: 79px auto;
}
.more {
  position: absolute;
  top: 2px;
  right: 20px;
  padding: 2px 10px;
  padding-right: 19px;
  background: -webkit-linear-gradient(left,#ff4f67,#ff6bc5);
  border-radius: 18px;
  color: #fff;
}
.more::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.sale-bd-items {
  display: flex;
}
.sale-bd-items a {
  flex: 1;
}
.sale-bd-items a img {
  width: 100%;
}

/* foot模块 */
footer {
  display: flex;
}
footer a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}
.footer-icon {
  flex: 1;
  width: 38px;
  height: 30px;
  background-color: pink;
  text-indent: -999px;
  overflow: hidden;
}
footer .icona {
  background: url(../images/sprite.png) no-repeat -58px -179px;
  background-size: 121px;
}
footer .iconb {
  background: url(../images/sprite.png) no-repeat -58px -202px;
  background-size: 121px;
}
footer .iconc {
  background: url(../images/sprite.png) no-repeat -61px -362px;
  background-size: 121px;
}